package ar.com.photo_admin.domain

class PhotoPrice extends DomainObject {

	Size size
	
	Float price
	
	PaperBorder paperBorder
	
	PaperType paperType
	
	static belongsTo = [photographer : PhotographerPrices, size : Size, paperBorder : PaperBorder, paperType : PaperType ]
	
    static constraints = {
		paperBorder(nullable:true)
		paperType(nullable:true)
		price(min:0.0f)
		size(nullable:false)
    }
}
